-
Notifications
You must be signed in to change notification settings - Fork 769
[UR] [L0 v2] Enable wait lists and signal events for command buffer in L0 adapter v2 #18456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: sycl
Are you sure you want to change the base?
Conversation
741adb4
to
5a2beb0
Compare
To clarify this, the functionality added in this PR of exposing wait and signal events also isn't exposed in SYCL yet. It's not only updating signal/wait events of commands that isn't exposed. |
@@ -232,6 +237,14 @@ ur_result_t urEventRelease(ur_event_handle_t hEvent) try { | |||
ur_result_t urEventWait(uint32_t numEvents, | |||
const ur_event_handle_t *phEventWaitList) try { | |||
for (uint32_t i = 0; i < numEvents; ++i) { | |||
if (!phEventWaitList[i]->getIsEventInUse()) { | |||
// TODO: This is a workaround for the underlying inconsistency |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Repeating comment from the original PR: can't we manually signal the events to put them in a proper state?
Truncated PR #18442. The mutable signal event and wait list functionality has been removed, since it is not used by SYCL and does not seem to be working properly.